package com.css.zfzx.fxpg.modules.vulnerability.area.repository;

import com.css.zfzx.fxpg.modules.vulnerability.area.repository.entity.FxVulnerabilityAreaEntity;
import com.css.zfzx.fxpg.modules.vulnerability.area.viewobjects.FxVulnerabilityAreaQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author leon
 * @date 2020-11-10
 */
public interface FxVulnerabilityAreaNativeRepository {

    Page<FxVulnerabilityAreaEntity> queryFxVulnerabilityAreas(FxVulnerabilityAreaQueryParams queryParams, int curPage, int pageSize);

    List<FxVulnerabilityAreaEntity> listFxVulnerabilityAreas(FxVulnerabilityAreaQueryParams queryParams);
}
